package com.codemart.mapper;

import com.codemart.dto.FontCntDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface FontMapper {


    @Select("select count(u_id) cnt from system_user_login")
    FontCntDTO getUserCnt();

    @Select("select count(de_id) cnt from demand_info")
    FontCntDTO getProjectCnt();

    @Select("select sum(money) cnt from demand_detail")
    FontCntDTO getMoneyCnt();
}
